﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace EHR.Views
{
    public partial class LoginFromOA : UserControl
    {
        public LoginFromOA()
        {
            InitializeComponent();
        }

        public void LoginFailed()
        {
            tbMsg.Text = "登录失败！";
        }

        public void WcfFailed()
        {
            tbMsg.Text = "访问服务器失败！";
        }

        public void NeedFromOA()
        {
            tbMsg.Text = "请从OA系统登录！";
        }
    }
}
